#include "app/ooconsolelogger.h"
#include <cstdio>

//------------------------------------------------------------------------
ImplementSingleton(ooConsoleLogger)

//------------------------------------------------------------------------
ooConsoleLogger::ooConsoleLogger()
{
	ConstructSingleton
}

//------------------------------------------------------------------------
ooConsoleLogger::~ooConsoleLogger()
{
	DestructSingleton
}

//------------------------------------------------------------------------
void
ooConsoleLogger::logError(const String &str) const
{
	printf("%s\t%s\n","Error",str.cString());
}

//------------------------------------------------------------------------
void
ooConsoleLogger::logWarnning(const String& str) const
{
	printf("%s\t%s\n","Warnning",str.cString());
}

//------------------------------------------------------------------------
void
ooConsoleLogger::logInfo(const String& str) const
{
	printf("%s\t%s\n","Info",str.cString());
}